<?php
/**
 * 核销管理——抽奖核销
 */

namespace App\store\controllers\writeoff;


use App\store\controllers\StoreBaseControllers;
use Illuminate\Http\Request;

class DrawController extends StoreBaseControllers
{

    /**
     * 抽奖核销记录
     */
    public function getDrawWriteoffRecord(Request $request)
    {

        $list = self::getStoreData('Writeoff','getDrawWriteoffRecord');

        return successJson('获取成功!', $list);
    }

    /**
     * 抽奖核销记录核销详情
     */
    public function getDrawWriteoffRecordDetails(Request $request)
    {

        $list = self::getStoreData('Writeoff','getDrawWriteoffRecordDetails');

        return successJson('获取成功!', $list);
    }

    /**
     * 抽奖核销统计
     */
    public function getDrawWriteoffTotal(Request $request)
    {

        $list = self::getStoreData('Writeoff','getDrawWriteoffTotal');

        return successJson('获取成功!', $list);
    }

}
